Exact Max 2-Sat: Easier and Faster
نویسندگان
چکیده
Prior algorithms known for exactly solving Max 2-Sat improve upon the trivial upper bound only for very sparse instances. We present new algorithms for exactly solving (in fact, counting) weighted Max 2-Sat instances. One of them has a good performance if the underlying constraint graph has a small separator decomposition, another has a slightly improved worst case performance. For a 2-Sat instance F with n variables, the worst case running time is Õ(2 ), where d̃(F ) is the average degree in the constraint graph defined by F . The algorithms and bounds actually are valid for any Max 2-Csp, whose clauses are over pairs of binary variables. We use strict α-gadgets introduced by Trevisan, Sorkin, Sudan, and Williamson to get the same upper bounds for problems like Max 3-Sat and Max Cut. We also introduce a notion of strict (α, β)-gadget to provide a framework that allows composition of gadgets. This framework allows us to obtain the same upper bounds for Max k-Sat and Max k-Lin-2.
منابع مشابه
MAX-SAT for Formulas with Constant Clause Density Can Be Solved Faster Than in O(s2) Time
We give an exact deterministic algorithm for MAX-SAT. On input CNF formulas with constant clause density (the ratio of the number of clauses to the number of variables is a constant), this algorithm runs in O(c) time where c < 2 and n is the number of variables. Worst-case upper bounds for MAX-SAT less than O(2) were previously known only for k-CNF formulas and for CNF formulas with small claus...
متن کاملMAX-SAT for Formulas with Constant Clause Density Can Be Solved Faster than in O(2) Time
We give an exact deterministic algorithm for MAX-SAT. On input CNF formulas with constant clause density (the ratio of the number of clauses to the number of variables is a constant), this algorithm runs in O(c) time where c < 2 and n is the number of variables. Worst-case upper bounds for MAX-SAT less than O(2) were previously known only for k-CNF formulas and for CNF formulas with small claus...
متن کاملImproved Exact Algorithms for Mildly Sparse Instances of Max SAT
We present improved exponential time exact algorithms for Max SAT. Our algorithms run in time of the form O(2(1−μ(c))n) for instances with n variables and m = cn clauses. In this setting, there are three incomparable currently best algorithms: a deterministic exponential space algorithm with μ(c) = 1 O(c log c) due to Dantsin and Wolpert [SAT 2006], a randomized polynomial space algorithm with ...
متن کاملNew Inference Rules for Max-SAT
Exact Max-SAT solvers, compared with SAT solvers, apply little inference at each node of the proof tree. Commonly used SAT inference rules like unit propagation produce a simplified formula that preserves satisfiability but, unfortunately, solving the Max-SAT problem for the simplified formula is not equivalent to solving it for the original formula. In this paper, we define a number of origina...
متن کاملA Two-Phase Exact Algorithm for MAX-SAT and Weighted MAX-SAT Problems
We describe a two phase algorithm for MAX{SAT and weighted MAX{ SAT problems. In the rst phase, we use the GSAT heuristic to nd a good solution to the problem. In the second phase, we use an enumera-tion procedure based on the Davis{Putnam{Loveland algorithm, to nd a provably optimal solution. The rst heuristic stage improves the performance of the algorithm by obtaining an upper bound on the m...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2007